#include"Sem.hpp"
int main()
{
    SemaphoreBuilder sb;
    auto sem=sb.build(BUILD_SEM,10);
    sem->P();
    // sem->V();
    std::cout<<"pid:"<<getpid()<<std::endl;
    return 0;
}